//
//  ErrorLogger.m
//  责任链模式
//
//  Created by flannery on 2018/12/18.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import "ErrorLogger.h"

@implementation ErrorLogger
- (instancetype)initWithLevel:(int)level
{
    self = [super init];
    if (self) {
        self.level = level;
    }
    return self;
}

-(void)write:(NSString*)message{
    NSLog(@"ERROR Console::Logger:%@", message);
}
@end
